package pro.lingwu.station.service;

import org.springframework.web.multipart.MultipartFile;
import pro.lingwu.station.dto.db.User;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author @lingwu
 * @date created in 2021/11/17
 */
public interface UserService {

    void addUser(User user, MultipartFile file) throws IOException;

    User signIn(HttpServletRequest request, String account, String password);

    void updateUser(User user, MultipartFile file) throws IOException;

}
